package com.zzyl.mapper;








import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :下次
 * @date : 2024/5/13, 8:58
 * Description:
 */
@Mapper
public interface NursingLevelMapper {
    List<NursingLevelVo> gteNursingLevelList();

    Page<NursingLevelVo> selectByPage(String name, Integer status);

    void addNursingLevelDto(NursingLevel nursingLevel);

    NursingLevelVo getNursingLevelById(Long id);

    void updateNursingLevelDto(NursingLevel nursingLevel);
    void delete(Long id);
    void updateNursingLevelStatus(@Param("id") Long id,@Param("status") Integer status);
}
